JFLAGS = 
JC = javac
.SUFFIXES: .java .class
.java.class:
	$(JC) $(JFLAGS) $*.java

CLASSES = \
        Client.java \
        ClientCommand.java \
        Msg.java \
        Packet.java \
        RegClient.java \
        SendAndReceive.java \
        Serializer.java \
        Server.java \
        TableOffline.java \
        TableServer.java \
        UdpChat.java 

default: classes

classes: $(CLASSES:.java=.class)

clean:
	$(RM) *.class